package org.jeecg.modules.demo.erp.basic.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import org.jeecg.common.constant.ProvinceCityArea;
import org.jeecg.common.util.SpringContextUtils;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: erp物料信息
 * @Author: jeecg-boot
 * @Date:   2025-08-12
 * @Version: V1.0
 */
@Data
@TableName("erp_material")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@Schema(description="erp物料信息")
public class ErpMaterial implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @Schema(description = "主键")
    private java.lang.String id;
	/**创建人*/
    @Schema(description = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @Schema(description = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @Schema(description = "所属部门")
    private java.lang.String sysOrgCode;
	/**名称*/
	@Excel(name = "名称", width = 15)
    @Schema(description = "名称")
    private java.lang.String name;
	/**单位*/
	@Excel(name = "单位", width = 15)
    @Schema(description = "单位")
    private java.lang.Integer unitId;
	/**辅助单位*/
	@Excel(name = "辅助单位", width = 15)
    @Schema(description = "辅助单位")
    private java.lang.Integer sndUnitId;
	/**编码*/
	@Excel(name = "编码", width = 15)
    @Schema(description = "编码")
    private java.lang.String code;
	/**单位转换率*/
	@Excel(name = "单位转换率", width = 15)
    @Schema(description = "单位转换率")
    private java.math.BigDecimal unitRate;
	/**使用宽/长度*/
	@Excel(name = "使用宽/长度", width = 15)
    @Schema(description = "使用宽/长度")
    private java.lang.Integer useAttribute1;
	/**使用高度*/
	@Excel(name = "使用高度", width = 15)
    @Schema(description = "使用高度")
    private java.lang.Integer useAttribute2;
	/**使用深度*/
	@Excel(name = "使用深度", width = 15)
    @Schema(description = "使用深度")
    private java.lang.Integer useAttribute3;
	/**使用颜色*/
	@Excel(name = "使用颜色", width = 15)
    @Schema(description = "使用颜色")
    private java.lang.Integer useAttribute4;
	/**使用型号说明*/
	@Excel(name = "使用型号说明", width = 15)
    @Schema(description = "使用型号说明")
    private java.lang.Integer userAttribute5;
	/**物料备注*/
	@Excel(name = "物料备注", width = 15)
    @Schema(description = "物料备注")
    private java.lang.String useAttribute6;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @Schema(description = "备注")
    private java.lang.String remark;
	/**规格型号*/
	@Excel(name = "规格型号", width = 15)
    @Schema(description = "规格型号")
    private java.lang.String itemModel;
}
